package com.excerise.extend;

/**
 *
 *
 * @author Way on 2021/8/1
 */
public class Base {
    public int n1 = 100;
    protected int n2 = 200;
    int n3 = 300;
    private int n4 = 400;

//    public Base() {
//        System.out.println("父类构造器 Base() ....");
//    }

    public Base(String name, int age) {
        System.out.println("父类构造器 Base(String name,int age) ....");
    }
}
